﻿'This class allows you to handle specific events on the settings class:
' The SettingChanging event is raised before a setting's value is changed.
' The PropertyChanged event is raised after a setting's value is changed.
' The SettingsLoaded event is raised after the setting values are loaded.
' The SettingsSaving event is raised before the setting values are saved.
Partial Friend NotInheritable Class MySettings

	''' <summary>
	''' Used to force updated on the main window if needed.
	''' </summary>
	''' <param name="sender"></param>
	''' <param name="e"></param>
	''' <remarks></remarks>
	Private Sub MySettings_SettingsSaving(sender As Object, e As ComponentModel.CancelEventArgs) Handles Me.SettingsSaving
		Try
			CType(My.Application.MainWindow, UI.DesignWindow).UpdateSettingProperties()
			'Q2Q.Controls.CueList.DefaultCueFontSize = My.Settings.DefaultCueFontSize


		Catch ex As Exception

		End Try
	End Sub
End Class
